package com.education.framework.base;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.support.ResourceBundleMessageSource;

import com.education.domain.User;
import com.education.framework.constants.ConstantsSession;

public class BaseController implements ConstantsSession{

	@Autowired
	protected ResourceBundleMessageSource resourceBundleMessageSource;

	protected User getSessionUser(HttpServletRequest request){
		return (User)request.getSession().getAttribute(LOGIN_USER);
	}
	
}
